NOTE: This Technical Q&A has been
retired. Please see the Technical Q&As
page for current documentation.![]() ![]() |
Q: After unbinding from a TCP port, I am sometimes unable to do anything with that port until I reboot. This happens in both native OpenTransport API and MacTCP emulation. What gives? A: OpenTranport TCP makes that port busy for a period of time long enough (about 2 minutes) for any remote connections to time out before you can bind to it again. This is done to prevent any stale connections from corrupting new ones. You will notice that even though your next Although a MacTCP emulation should return a The bottom line is: always check your returned address. If you are using the native Open Transport API, there is a way around the
two-minute delay. You can issue an option management call before you do the
bind to enable the Be aware, though, that with the See X/OpenTransport Interface for further documentation. |
Developer Documentation | Technical Notes | Development Kits | Sample Code |